GtkVolumeButton: Remove tooltips
authorMatthias Clasen <mclasen@redhat.com>
Thu, 30 Jan 2014 02:30:01 +0000 (21:30 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 3 Feb 2014 20:43:24 +0000 (15:43 -0500)
Showing tooltips on top of a transient popup does not work
out well, and is not really necessary here. At the same time,
remove the unnecessary repetitions of properties. In particular,
setting the label of the buttons here defeats the scale buttons
use of symbolic icons.

https://bugzilla.gnome.org/show_bug.cgi?id=723181

gtk/resources/ui/gtkvolumebutton.ui

index 4c253a3050eea41e849e68c6fc068204ccbbe537..938ac0dc35ba8cc77ddd23edf41e99f5388c39f4 100644 (file)
@@ -29,11 +29,6 @@ audio-volume-medium</property>
     <signal name="value-changed" handler="cb_value_changed" swapped="no"/>
     <child internal-child="plus_button">
       <object class="GtkButton" id="scalebutton-plus_button1">
-        <property name="label" translatable="yes">+</property>
-        <property name="can_focus">True</property>
-        <property name="receives_default">True</property>
-        <property name="tooltip_text" translatable="yes">Volume Up</property>
-        <property name="relief">none</property>
         <child internal-child="accessible">
           <object class="AtkObject" id="scalebutton-plus_button1-atkobject">
             <property name="AtkObject::accessible-name" translatable="yes">Volume Up</property>
@@ -44,11 +39,6 @@ audio-volume-medium</property>
     </child>
     <child internal-child="minus_button">
       <object class="GtkButton" id="scalebutton-minus_button1">
-        <property name="label" translatable="yes">-</property>
-        <property name="can_focus">True</property>
-        <property name="receives_default">True</property>
-        <property name="tooltip_text" translatable="yes">Volume Down</property>
-        <property name="relief">none</property>
         <child internal-child="accessible">
           <object class="AtkObject" id="scalebutton-minus_button1-atkobject">
             <property name="AtkObject::accessible-name" translatable="yes">Volume Down</property>